package com.example.bankend.service;

import com.example.bankend.entity.Saving;

import java.util.List;

/**
 * @author luolinila
 * @date 2025/6/18 09:52
 */
public interface SavingService {
    public Long createSaving(Long adminID, String adminName, String adminPass, String savingName, String descrip);
    public Saving getSavingById(Long id);
    public Saving getSavingByName(String savingName);
    public Long deleteSaving(Long adminID, String adminName, String adminPass, Long savingID);
    List<Long> selectAllSavingID();
    Long recoverSaving(Long savingID);
    List<Saving> getAllSaving(Long adminID, String adminName, String adminPass);
    Long updateSaving(Long adminID, String adminName, String adminPass, Long savingID, String savingName, String descrip);
}
